import request from "@/utils/request";

// 查询复诊提醒表列表
export function getReview(query) {
  return request({
    url: "/system/review/list",
    method: "get",
    params: query
  });
}

// 02-新增复诊提醒表提醒
export function addReview(data) {
  return request({
    url: "/system/review",
    method: "post",
    data: data,
  });
}

// 03-删除复诊提醒表
export function deleteReview(id) {
  return request({
    url: "/system/review/"+id,
    method: "delete",
  });
}

// 复诊提交
export function uploadReview(visitNum) {
  return request({
    url: "/system/review/review/"+visitNum,
    method: "get",
  });
}

